<!--
 * @Author: GKN
 * @Date: 2023-12-08 11:03:32
 * @LastEditTime: 2024-01-22 16:26:59
 * @LastEditors: GKN
 * @Description: 
 * @FilePath: \mod\src\view\home\villageNotes.vue
 * 可以输入预定的版权声明、个性签名、空行等
-->
<!--
 * @Author: GKN
 * @Date: 2023-09-01 10:42:12
 * @LastEditTime: 2023-12-08 11:03:18
 * @LastEditors: GKN
 * @Description: 
 * @FilePath: \mod\src\view\home\village.vue
 * 可以输入预定的版权声明、个性签名、空行等
-->
<template>
    <div class="main mainPadding p-t p-b" style="background: #fff;">
        <div class="max-w">
        <el-breadcrumb separator=">">
            <el-breadcrumb-item v-for="(item,i) in breadcrumb_list" :key="i" @click="go(i,item)">{{ item.name }}</el-breadcrumb-item>
        </el-breadcrumb>
        <div class="title">{{ info.blurb }}</div>
        <div class="font-content font-MTop12 font-text-al-l omit-3">乡村振兴优秀案例征集通知</div>
        <div class="MarT">
            <fileView :list="info.files" thumb="cover" :id="info?info.newsId:''" t1="乡村振兴优秀案例征集通知" t2="文件" />
        </div>
        </div>
    </div>
  </template>
  
<script setup>
import listView from '../components/list.vue';
import { ref,reactive, onMounted,getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
import CryptoJS from 'crypto-js';
import { useRoute, useRouter } from "vue-router";
const Router = useRouter();
const info = proxy.$comJs.decrypt(Router.currentRoute.value.query.ob).info
const breadcrumb_list = [{name:'首页'},{name:'乡村振兴'},{name:'优秀案例征集通知'}]
    const list = ref(null)
    const getList =(id)=>{
        // proxy.$http.request(proxy.$api.list_news+'?nextTag=0&nid='+id+'&pageSize=4&prevTag=0','get',{},false, function (res) {
        //     if(res&&res.data){
        //         if(res.data.data.list!= undefined){
        //             list.value = res.data.data.list
        //         } 
        //     }
        // })
        list.value=[
            {name:'测试名称',thumb:'f0beb019037d9c18d26d7311742b50e5'},
            {name:'测试名称',thumb:'f0beb019037d9c18d26d7311742b50e5'}
        ]
    }
    getList()
    const go=(i,item)=>{
        Router.go(-1)
    }
</script>
  
<style lang='less' scoped>
.header{
    background: #d10b00;
    height: 80px;
}
.title{
    font-size: 30px;
    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
    font-weight: 500;
    color: #D10B00;
    line-height: 50px;
}
</style>
  